<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/"+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>IT服务支持平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	</head>
<body id="main_body" >
	
	<div id="form_container">

			
		<form  method="post" action="wx/operationWork/new/${user.userId}">
			<div >
				<p>${user.userName}，您好！</p>
				<p>您报障的内容如下:</p>
			</div>
			<hr  style="background-color:#000000;border:0;height:2px;"/>
			
			<c:if test="${!empty equipment}">
			<h4>设备信息</h4>						
			<ul >
				<li id="li_1" >
					<input type="hidden" name="device" value="${equipment.equiId}" />
					<label >设备编号:${equipment.equiId}</label>
					<br>
				</li>
				<li id="li_1" >
					<label >设备名称:${equipment.equiName}</label>
					<br>
				</li>
				<li id="li_1" >
					<label >型号:${equipment.brand}${equipment.model}</label>
					<br>
				</li>
				<li id="li_1" >
					<label >购买日期:${equipment.buyDate}</label>
					<br>
				</li>
				<c:if test="${!empty keeper}">
				<li id="li_1" >
					<label >保管人:${keeper.userName}</label>
					<br>
				</li>	
				</c:if>		
				<li id="li_1" >
					<label >地址:${equipment.place}</label>
					<br>
				</li>
			</ul>
			</c:if>	
			
			<h4>服务信息</h4>
			<ul >
				<li id="li_1" >
					<label >故障类型</label>
					<div>
						<select  name="hitchBigType">
						  <option value ="网络">网络</option>
						  <option value ="服务器">服务器</option>
						  <option value ="桌面电脑及外设">桌面电脑及外设</option>
						</select>
					</div> 
				</li>
				<li id="li_3" >
					<label >故障描述 </label>
					<div>
						<textarea rows="6" cols="30" name="describe" ></textarea> 
					</div> 
				</li>
			
				<li class="buttons">
			    
				<input type="submit" name="submit" value="提交" />
				</li>
			</ul>
		</form>	
		
	</div>
	</body>
</html>